package com.xbongbong.paas.service;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.script.pojo.dto.AllScriptDTO;
import com.xbongbong.pro.script.pojo.vo.ScriptVO;

/**
 * @author 吴峰
 * @date 2023/02/06 10:49
 */
public interface PaasRepairExplainService {

    /**
     * 修复解释 总入口
     * @param allScriptDTO
     * @return
     */
    ScriptVO repairExplain(AllScriptDTO allScriptDTO) throws XbbException;

    /**
     * 根据业务类型获取枚举
     * @param businessType
     * @return
     * @throws XbbException
     */
    Class<?> getBusinessClass(Integer businessType) throws XbbException;

    /**
     * 根据业务类型获取枚举
     * @param businessType
     * @return
     * @throws XbbException
     */
    Class<?> getBusinessTempClass(Integer businessType) throws XbbException;
}
